#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    ui->comboBox->addItem("AAAAAAAA");
    ui->comboBox->addItem("BBBBBBBB");

    ui->comboBox_2->addItem("CCCCCCCC");
    ui->comboBox_2->addItem("DDDDDDDD");

    ui->comboBox_3->addItem("EEEEEEEE");
    ui->comboBox_3->addItem("FFFFFFFF");

}

Widget::~Widget()
{
    delete ui;
}


void Widget::on_pushButton_clicked()
{
    QString str = "您选择的订单为：";
    str += ui->comboBox->currentText();
    str += "+";
    str += ui->comboBox_2->currentText();
    str += "+";
    str += ui->comboBox_3->currentText();

    ui->label_4->setText(str);
}
